Fix race in presence handler where we evicted things from cache while handling a key therein