Changed the deadlock fix.