Auto clean the cache from expired elements