code: public synchronized void stop() {
  		running = false;
  		pool.shutdown();
  		try {
  			if (!pool.awaitTermination(60, TimeUnit.SECONDS))
  				pool.shutdownNow();
  			if (!serverSocket.isClosed())
  				this.serverSocket.close();
  		} catch (IOException e) {
  			DBP.printerror("Error closing Socket.");
  			DBP.printException(e);
  		} catch (InterruptedException ie) {
  			DBP.printerror("Error shutting down threadpool.");
  			DBP.printException(ie);
  			// (Re-)Cancel if current thread also interrupted
  			pool.shutdownNow();
  			// Preserve interrupt status
  			Thread.currentThread().interrupt();
  		}
  	}
docs: Stops the running server.
  <p>