expire old entries to prevent a memory leak