def stop(self):
        self._server.stop()
        if self._owns_executor:
            self._executor.shutdown()
Test setup with all data.
dataset/ETHPy150Open openstack/taskflow/taskflow/engines/worker_based/worker.py/Worker.stop--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/tests/components/test_statsd.py/TestStatsd.test_statsd_setup_full