Fix deadlock opportunity