add basic synchronization for MockJedis to be thread-safe