fix race condition where the cpu field is not populated because the process was very short-lived.