ISPN-4651 LevelDB crashes JVM when stop() is called concurrently with write()
Validate the cache mode when a cache configuration is added to the cache manager