Dreadlocks deadlock detection