Forced mosquitto.loop to return immediately