code: @Override
    public void close() {
      logger.info("Shutting down Etcd4j Netty client");
  
      if (config.isManagedEventLoopGroup()) {
        logger.debug("Shutting down Netty Loop");
        eventLoopGroup.shutdownGracefully();
      }
    }
docs: Close netty