def process_cancel(self):
        # silly cases, nothing to do
        if not self.in_cancel:
            return

        while True:
            token_id = self.get_token_id()
            self.process_token(token_id)
            if not self.in_cancel:
                return
Process the incoming token stream until it finds
dataset/ETHPy150Open denisenkom/pytds/pytds/tds.py/_TdsSession.process_cancel