BTW I assumed that the cache is unbounded in the counterexample just above.  We can just decrease 1048576 to something smaller to make it more realistic.  The thing is the problem is still there although it will take less time until the thread-local cache is cleaned up enough.