code: def _handle_exception(self, typ, value, tb):
      if self.final_callback:
          self._remove_timeout()
          if isinstance(value, StreamClosedError):
              if value.real_error is None:
                  value = HTTPError(599, "Stream closed")
              else:
                  value = value.real_error
          self._run_callback(
              HTTPResponse(
                  self.request,
                  599,
                  error=value,
                  request_time=self.io_loop.time() - self.start_time,
              )
          )
  
          if hasattr(self, "stream"):
              # TODO: this may cause a StreamClosedError to be raised
              # by the connection's Future.  Should we cancel the
              # connection more gracefully?
              self.stream.close()
          return True
      else:
          # If our callback has already been called, we are probably
          # catching an exception that is not caused by us but rather
          # some child of our callback. Rather than drop it on the floor,
          # pass it along, unless it's just the stream being closed.
          return isinstance(value, StreamClosedError)
  
imports: from __future__ import absolute_import, division, print_function
  from tornado.escape import utf8, _unicode
  from tornado import gen
  from tornado.httpclient import HTTPResponse, HTTPError, AsyncHTTPClient, main, _RequestProxy
  from tornado import httputil
  from tornado.http1connection import HTTP1Connection, HTTP1ConnectionParameters
  from tornado.iostream import StreamClosedError
  from tornado.netutil import Resolver, OverrideResolver, _client_ssl_defaults
  from tornado.log import gen_log
  from tornado import stack_context
  from tornado.tcpclient import TCPClient
  from tornado.util import PY3
  import base64
  import collections
  import copy
  import functools
  import re
  import socket
  import sys
  from io import BytesIO
label_desc: Use image node_id 11 for calling the _HTTPConnection obj's underlying member method code with example usage: obj._handle_exception(typ, value, tb) and returns: True, isinstance