private void SerialUDPGatewayForm_FormClosing(object sender, System.Windows.Forms.FormClosingEventArgs e)
 {
     Disconnect();
     udpCommunicator.Close();
     DebugLogger.Close();
 }