Replaced client communication method with MQTT implementation