reconnect method

void reconnect()

Implementation

void reconnect() {
  if (_socket!.connected) {return;}
  connect();
}