Prevent deadlocks of recently implemented synchronization.