def stop(self):
        self._stop_event.set()
        if self.select_greenlet is not None:
            self.select_greenlet.kill()
            self.select_greenlet.get()
            gevent.sleep()
Stop subtasks and let run() finish.
dataset/ETHPy150Open django-ddp/django-ddp/dddp/postgres.py/PostgresGreenlet.stop