If the server takes more than 10*deadlockTime to stop, trigger deadlock detection.

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