deadlock done