monitor_processes.py exits when one shell is triggered.
I also deleted some comments