code: public ServiceBroker stop() {
  
  		// Stop internal components
  		stop(transporter);
  		stop(serviceRegistry);
  		stop(eventbus);
  		stop(serviceInvoker);
  		stop(contextFactory);
  		stop(strategyFactory);
  		stop(uidGenerator);
  
  		// Shutdown thread pools
  		if (config.isShutDownThreadPools()) {
  			ExecutorService executor = config.getExecutor();
  			if (executor != null && !executor.isShutdown() && !executor.isTerminated()) {
  				try {
  					executor.shutdownNow();
  				} catch (Exception ignored) {
  				}
  			}
  			logger.info("Task Executor Service stopped.");
  			ScheduledExecutorService scheduler = config.getScheduler();
  			if (scheduler != null && !scheduler.isShutdown() && !scheduler.isTerminated()) {
  				try {
  					scheduler.shutdownNow();
  				} catch (Exception ignored) {
  				}
  			}
  			logger.info("Task Scheduler Service stopped.");
  		}
  		return this;
  	}
docs: Stop broker and all internal components (event bus, context factory,
  etc.). If the Broker has a Transporter, transporter.disconnect() will be
  called.
  
  @return this ServiceBroker instance (from "method chaining")