Fixed a small issue with SIGTERM in multirun.py