Have only had this happen a few times on my '97 Legacy 2.2L with 200,000 Km on it. It has only happened after the car has sat for 30-45 minutes after running and up to temperature. It has only happened a handful of times and does not do it everything. The idle will fluctuate from 700 to 1200 rpm. A quick flick of the throttle or putting the car into gear will bring idle to normal. Besides that the car runs great aside from "AWD" fuel economy. Recent work done in the past 4 months: timing belt, oem spark plug & wires, oem CTS, oem front o2, air filter, fuel filter, cleaned maf throttle body egr and iac. All work done by me. Only thing I have not checked or adjusted is the tps.