Add thread-safe CacheHandler