ISPN-4651 LevelDB crashes JVM when stop() is called concurrently with write()
Test that replaying a prepare command doesn't acquire the lock twice