public void close(String message) {
		if (!closed) {
			closed = true;
			socket.close();
			for (Map.Entry<String, Handler<? extends Message<?>>> handler : eventBusHandlers.entrySet())
				eventBus.unregisterHandler(handler.getKey(), handler.getValue());
			System.out.println("Client closed " + message);
		}
	}