code: protected void closeQuietly(HttpURLConnection httpUrlConnection) {
      if (httpUrlConnection == null) {
        return;
      }
      try {
        httpUrlConnection.disconnect();
      } catch (Exception t) {
        HTTP_LOGGER.warn("Unable to disconnect {}: ", httpUrlConnection, t);
      }
    }
docs: Attempts to cleanly close an {@code HttpURLConnection}, swallowing any exceptions that might occur since there's no
  way to recover anyway.
  <p>
  It's OK to pass {@code null} in, this method will no-op in that case.
  
  @param httpUrlConnection
  The connection to close.