Actually fix the deadlock.