private void OnServerConnectionFailed(object sender, ServerConnectionEventArgs args) { try { args.ConnectionInfo = CurrentServerInfo; PurgeClient(); if (ServerConnectionFailed != null) ServerConnectionFailed(this, args); } catch { // ignored } }