Improve deadlock detector warnings

Signed-off-by: Ross Allan <rallanpcl@gmail.com>