detect plugin deadlock