disconnect method

void disconnect()

Implementation

void disconnect() {
  if (mqttClient != null) {
    mqttClient.disconnect();
  }
}