Fix deadlock things.