revert deadlock fix