Working with an MQTT client