void Connect() { if (!Connected && !Connecting) { Connecting = true; es.BeginConnect(ConnectCallback); } }