code: public void restart(FailureHandler failureHandler) {
  		if (!this.enabled) {
  			this.logger.debug("Application restart is disabled");
  			return;
  		}
  		this.logger.debug("Restarting application");
  		getLeakSafeThread().call(() -> {
  			Restarter.this.stop();
  			Restarter.this.start(failureHandler);
  			return null;
  		});
  	}
docs: Restart the running application.
  @param failureHandler a failure handler to deal with application that doesn't start