fix restart emqttc