If it is just the idle scew backing out, maybe a drop of Locktite on the threads as you screw it in will hold it. Red it the harder stuff, Blue is medium.
At least then if it continues changing RPM, you can rule out the screw and go after vaccum leaks.