code: @Override
  	public void shutdown() {
  		LOGGER.info("Shutting down application...");
  		this.executorService.shutdown();
  		boolean finished=this.executorService.isTerminated();
  		while(!finished) {
  			try {
  				this.executorService.awaitTermination(100, TimeUnit.MILLISECONDS);
  				finished=this.executorService.isTerminated();
  			} catch (InterruptedException e) {
  				finished=true;
  			}
  		}
  		LOGGER.info("Shutdown completed.");
  	}
docs: {@inheritDoc}