docs: public static void shutdownNodeByFiringEvents(Node node, boolean terminate) {
          final HazelcastInstanceImpl hazelcastInstance = node.hazelcastInstance;
          final LifecycleServiceImpl lifecycleService = hazelcastInstance.getLifecycleService();
          lifecycleService.fireLifecycleEvent(LifecycleEvent.LifecycleState.SHUTTING_DOWN);
          node.shutdown(terminate);
          lifecycleService.fireLifecycleEvent(LifecycleEvent.LifecycleState.SHUTDOWN);
      }