The danger of deadlocks in the wrong places