static void stop(final HttpServer httpServer){
  httpServer.shutdownNow();
}

static void stop ( final HttpServer httpServer ) { httpServer . shutdownNow ( ) ; }
stop the http server started with waitforctrlc set to false .
