Hopefully no more deadlocks.