code: public void clientDisconnect()
    {
      try {
        OutHttpApp responseStream = _responseStream;
        
        if (responseStream != null) {
          responseStream.close();
        }
      } catch (Exception e) {
        log.log(Level.FINER, e.toString(), e);
      }
      
      ConnectionTcp conn = connTcp();
  
      if (conn != null) {
        conn.clientDisconnect();
      }
  
      killKeepalive("client disconnect");
    }
docs: Called when the client has disconnected