def _on_close(self):
        self._stats.retransmits = self._retransmits
        self._stats_callback(self._stats)
Called at the end of a session.
dataset/ETHPy150Open facebook/fbtftp/fbtftp/base_handler.py/BaseHandler._on_close