docs: private void handleClusterEvent(ClusterMembershipEvent event) {
      raft.getThreadContext().execute(() -> {
        if (event.type() == ClusterMembershipEvent.Type.MEMBER_REMOVED) {
          log.debug("Node {} deactivated", event.subject().id());
          raft.getSessions().getSessions().stream()
              .filter(session -> session.memberId().equals(event.subject().id()))
              .forEach(this::expireSession);
        }
      });
    }