MQTT replaced with TCP to avoid connection problem