cache is a `ConcurrentDictionary` and this use of it is not thread safe.