If you find you still have the problem....I'd replace not clean the IAC. I had a similar problem, when I was at idle, the car would just die. Wait about an hour or so and it would start and run fine until it would randomly die when at idle. Replaced IAC and problem is no more.

Bob
IAC - Idle Air Control Valve


An ounce of prevention provides a pound of cure!