/// <summary>
 /// Stops the queue listening for messages and deletes the proxy on the bus.
 /// </summary>
 public void Stop()
 {
     ExceptionHandler.Stop = true;
     IsEnabled             = false;
     PortIn.Close();
     Logger.Info("Connection closed");
     JmsPort.CloseAll(connectorId);
 }