ISPN-4651 LevelDB crashes JVM when stop() is called concurrently with write()

https://issues.jboss.org/browse/ISPN-4651
Thinking more about this the fair implemenation of Semaphore and ReentrantReadWriteLock may be written in a way that reads are just as fast anyways, but it would need some testing.