code: protected void closeSocketAndStreams() {
          LOG.trace("enter HttpConnection.closeSockedAndStreams()");
  
          isOpen = false;
          
          // no longer care about previous responses...
          lastResponseInputStream = null;
  
          if (null != outputStream) {
              OutputStream temp = outputStream;
              outputStream = null;
              try {
                  temp.close();
              } catch (Exception ex) {
                  LOG.debug("Exception caught when closing output", ex);
                  // ignored
              }
          }
  
          if (null != inputStream) {
              InputStream temp = inputStream;
              inputStream = null;
              try {
                  temp.close();
              } catch (Exception ex) {
                  LOG.debug("Exception caught when closing input", ex);
                  // ignored
              }
          }
  
          if (null != socket) {
              Socket temp = socket;
              socket = null;
              try {
                  temp.close();
              } catch (Exception ex) {
                  LOG.debug("Exception caught when closing socket", ex);
                  // ignored
              }
          }
          
          tunnelEstablished = false;
          usingSecureSocket = false;
      }
docs: Closes everything out.