warn on potential deadlock