def METHOD_NAME(self) -> None:
    if self.upstream:
        logger.debug(
            'Connection closed with upstream {0}:{1}'.format(
                text_(self.request.host), self.request.port,
            ),
        )
        self.upstream.close()
    super().METHOD_NAME()