code: private void installShutdownHook() {
  		if (shutdownHook == null) {
  			this.shutdownHook = ShutdownHookUtil.addShutdownHook(this::dispose, getClass().getSimpleName(), LOG);
  		}
  	}
docs: ------------------------------------------------------------------------