Actually, it's not just refresh that's affected. This happens even if you evict the entry manually too, so we need to fix it such that the lock is not released during evict phase.