public synchronized void close() {
		if (isOpen()) {
			remoteHost = null;
			socket.close();
			socket = null;
			for (UdpMessengerListener listener : listeners) {
				listener.messengerClosed();
			}
		}
	}