def connection_lost(self, exc=None):
        """Fires the ``connection_lost`` event.
        """
        if self._loop.get_debug():
            self.producer.logger.debug('connection lost %s', self)
        self.event('connection_lost').fire(exc=exc)
Fires the ``connection_lost`` event.