reconnect method

void reconnect()

Implementation

void reconnect() {
  _closedByClient = false;
  _connect(isRetry: true);
}