Fixed an MQTT client connection issue