Kill worker processes when quitting during a run.
Modified for PyPI packaging.