code: @Override
      public void destroy()
      {
          close();
  
          URLConnection conn = _conn;
          _conn = null;
  
          if (conn instanceof HttpURLConnection)
              ((HttpURLConnection) conn).disconnect();
      }
docs: Disconnect the connection