inMemoryDriver

Helper function to create an in-memory driver. In-memory drivers have a single connection, so concurrent access will be block