def on_shutdown(self): for child in multiprocessing.active_children(): self._logger.info("Killed Child") child.terminate() self._logger.info("Meta Reader Terminated")