syslog_relay: Make sure syslog worker thread is not stuck forever