Don't sleep with lock held