public void Ping(Object obj, EventArgs Arg) { try { _Ping.Stop(); Connector.Ping(_Id); _Ping.Start(); } catch (Exception) { Log.Error("RpcClient", "Server disconnected : " + _Ip + ":" + _Port); Log.Info("RpcClient", "Attempting to reconnect : 100"); if (Connect(100)) { _Ping.Start(); } } }