code: public void disconnect() {
          if (socket != null) {
              try {
                  socket.close();
              }
              catch (IOException ioe) {
  
                  // Does not matter, I guess.
              }
              socket = null;
          }
          connected = false;
      }
docs: Indicates that other requests to the server
  are unlikely in the near future. Calling disconnect()
  should not imply that this HttpURLConnection
  instance can be reused for other requests.