Fixes concurrency issue with the cache