Implementing a dirty stop method for the leveldb store that might come in handy for testing.