private void Timer_Exit(object myObject, EventArgs myEventArgs)
 {
     if (_exitStatus == 0)
     {
         _notifyIcon.Text = _systemId;
         _connectionCountTimer.Enabled = false;
         _exitStatus = 1;
         _telnetService.Shutdown();
     }
     else if (_telnetService != null && _exitStatus < 10 &&
              _telnetService.ConnectionCount() > 0)
     {
         _exitStatus += 1;
     }
     else
     {
         _exitTimer.Enabled = false;
         ExitThread();
         Application.Exit();
     }
 }
 private void Timer_ConnectionCount(object myObject, EventArgs myEventArgs)
 {
     _notifyIcon.Text = _systemId + " [" + _telnetService?.ConnectionCount() + "]";
 }