docs: private void unregisterHandlers() {
      // Unregister TCP message handlers.
      bootstrapService.getMessagingService().unregisterHandler(MEMBERSHIP_SYNC);
      bootstrapService.getMessagingService().unregisterHandler(MEMBERSHIP_PROBE);
      bootstrapService.getMessagingService().unregisterHandler(MEMBERSHIP_PROBE_REQUEST);
  
      // Unregister UDP message listeners.
      bootstrapService.getUnicastService().removeListener(MEMBERSHIP_GOSSIP, gossipListener);
    }