Deadlock fixed.