Better management of Mqtt client and service start/stop.