def do_stop(self):
        if self._greenlets.coroutines_running in eventlet.greenthread.getcurrent():
            return eventlet.spawn(self.do_stop).join()
        if self._greenlets.running():
            with eventlet.timeout.Timeout(self.stop_timeout, False):
                self._greenlets.waitall() # put in timeout for stop_timeout
            for g in list(self._greenlets.coroutines_running):
                with eventlet.timeout.Timeout(1, False):
                    g.kill() # timeout of 1 sec?
dataset/ETHPy150Open progrium/ginkgo/ginkgo/async/eventlet.py/AsyncManager.do_stop/swapped operands of `in`