Reliably show which ThreadManagers are stuck when a deadlock is detected, check for leaked ThreadManagers on /stop.

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