You just ID'd the place you need to fix this. You said "after revving". The first thing that says to me is, adjust the throttle follower. You can do this 2 ways. Increase follower airflow or reduce the decay rates.
Another option would be to slightly increase the throttle cracker some incase it's happening in a situation similar to:
- I was driving down the road at 3K RPM, took my foot off the gas & coasted for 10 seconds down to 2500 RPM, pushed the clutch in and it stalled on me.
Throttle follower is based on throttle movement. It's there to "cushion the blow" of changes made with your right foot.
Throttle cracker is based purely on MPH & RPM. If the car is at "X" MPH and "Y" RPM, the IAC allows "Z" more grams/second of airflow to pass. So, this is like the idle screw on a carb...but only for when the vehicle is in motion above the thresholds I previously mentioned.