def shut_down(self):
        d = self.session.shut_down()
        d.addCallback(lambda _: self._shut_down())
        return d
End the session and stop listening on the server port
dataset/ETHPy150Open lbryio/lbry/lbrynet/lbrylive/LBRYStdinUploader.py/LBRYStdinUploader.shut_down