public void stopServer() {
		Actions.addAction(new Action(ActionType.INFO, "Closing all channels..."));
		ChannelGroupFuture future = allChannels.close();
		Actions.addAction(new Action(ActionType.INFO, "Awaiting completion..."));
		if(future.awaitUninterruptibly(10000)) {
			if(!future.isCompleteSuccess()) {
				Actions.addAction(new Action(ActionType.WARNING, "Channels failed to close!"));
				// TODO: Add to actions.
			} else {
				Actions.addAction(new Action(ActionType.INFO, "Success! All channels closed."));
			}
		}
		Actions.addAction(new Action(ActionType.INFO, "Releasing the bootstrap external resources..."));
		bootstrap.releaseExternalResources();
	}