failedToConnect method

void failedToConnect()

mark as failed to connect

Implementation

void failedToConnect() {
  connecting = false;
}