code: public void remove(String name) {
          EndpointService<L, S> service = endpointServices.remove(name);
          if (service != null) {
              service.stop();
              log.infoRemovedEndpointService(service.toString());
          }
      }
docs: This will stop the given endpoint service and remove it from the list of endpoint services.
  
  @param name identifies the endpoint service to remove