collect process data at iteration time to minimize race condition