def _run_event(self):
        while self.alive:
            try:
                self.handle_event(self.events.get())
            except:
                logging.exception('_run_event')
Make sure transaction closure is enforced even when the queries are performed
dataset/ETHPy150Open pyserial/pyserial/examples/at_protocol.py/ATProtocol._run_event--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/tests/transactions_regress/tests.py/TestTransactionClosing.test_reuse_cursor_reference