fix for delete and expiry race conditions causing over allocations.