removed infinite loop from procs.py