def _runloop(self):
        while not self.server._stop:
            self.server.serve()
        while not self._stopped:
            time.sleep(0.1)
Overridden to execute TNonblockingServer's main loop
dataset/ETHPy150Open facebook/sparts/sparts/tasks/thrift/nbserver.py/NBServerTask._runloop