I would clear the codes and take the car to a place that has little business. When does the car throw a code first start in the morning?
If so get it nice and warm. take it some where scheduled and wait. with in 30min to an hour your car should be done. and as long as the car stays warm (if a cold issue) then it should pass.