Don't allow cancellation of hold handler

If the key hold handler is cancelled after acquiring a mutex, the
handler will cease to perform any useful work during future calls