Make the dalli client threadsafe