code: final void removePathService(final OperationContext operationContext, final String pathName) {
          final ServiceController<?> serviceController = operationContext.getServiceRegistry(true).getService(AbstractPathService.pathNameOf(pathName));
          if (serviceController != null) {
              operationContext.removeService(serviceController);
          }
      }
docs: Removes any {@code Service<String>} for the given path.
  @param operationContext the operation context associated with the management operation making this request. Cannot be {@code null}
  @param pathName  the name of the relevant path. Cannot be {@code null}