Fixed possible memory leak during shutdown procedure for process interruption; remaining processes never removed from list.