code: def perform_shutdown
              if @bound
                  # Unbind any ports we are bound to
                  ports = []
                  @bindings.each do |port, binding|
                      ports << binding.unbind
                  end
  
                  # Shutdown once the ports are all closed
                  @thread.finally(*ports).then do
                      shutdown_gazelles
                  end
              else
                  shutdown_gazelles
              end
          end
docs: -------------------
   Shutdown Management
   -------------------