ISPN-3290 Redesign CacheStore API

* fixed race condition in async cache store