remove processes from the list when they die