protected static @NotNull Element readElementCancelable(final ProgressIndicator indicator, String url) throws IOException {
    return HttpRequests.request(url)
      .accept("application/xml")
      .connect(new HttpRequests.RequestProcessor<>() {
        @Override
        public Element process(@NotNull HttpRequests.Request request) throws IOException {
          try {
            return JDOMUtil.load(request.getReader(indicator));
          }
          catch (JDOMException e) {
            throw new IOException(e);
          }
        }
      });
  }
protected static @NotNull Element readElementCancelable(final ProgressIndicator indicator, String url)