docs: public static Result parseResults(Command cmd, InputStream input, ResultType type) throws SparqlException {
      try {
        return createResults(cmd, input, type);
      } catch (Throwable t) {
        logger.debug("Error parsing results from stream, cleaning up.");
        try {
          input.close();
        } catch (IOException e) {
          logger.warn("Error closing input stream from failed protocol response", e);
        }
        throw SparqlException.convert("Error parsing SPARQL protocol results from stream", t);
      }
    }