Send chat messages safely if a deadlock occured

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