Clear the cache when there are too many items to expire