manager.py: fixed subprocess.Popen call in shutdown method