in callouts/python/extproc/service/callout_server.py [0:0]
def shutdown(self) -> None:
"""Tell the server to shutdown, ending all serving threads."""
if self._health_check_server:
self._health_check_server.shutdown()
if self._callout_server:
self._callout_server.stop()