public void removeHost(String name) {
		Host h = hosts.remove(name);

		boolean disconnectHost = true;
		int option = JOptionPane
				.showConfirmDialog(
						null,
						RemoteResourcesLocalization
								.getMessage(RemoteResourcesMessages.HostPanel_RemoveHost),
						"Remove Host", JOptionPane.YES_NO_OPTION,
						JOptionPane.QUESTION_MESSAGE);

		disconnectHost = option == JOptionPane.YES_OPTION ? true : false;

		if (disconnectHost) {
			if (h != null) {
				for (Device device : h.getDevices()) {
					removeDevice(device, false);
					CaptureManager.getInstance().stopCapture();
				}
				for (DeviceModelChangeListener listener : listeners) {
					listener.hostRemoved(h);
				}
			}
		}
	}