thread safe wrapper around groupcache/lru