public void disconnect()
	{
		if(serialPort != null && serialPort.isOpened() )
		{
			try {
				serialPort.setDTR(false);
				serialPort.setRTS(false);

				serialPort.removeEventListener();

				serialPort.closePort();

			} catch (Exception e) {
				publish(Messages.SerialWorker_6);
				explainSerialPortException(e);
			}
			publish(Messages.SerialWorker_9);
		}
		state = SerialState.Disconnected;
		postStateChange( SerialState.Disconnected);
	}