Rough implementation of MQTT watchdog