public void removeConnection(Connection connection) {
		connections.remove(connection);
		if (connections.isEmpty()) {
			try {
				exit();
			} catch (IOException e) {
				e.printStackTrace();
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
	}