I usually just clean out my temp files while still logged in. It won't clean out everything, but it will clean out most stuff.
I also tend to clean out my files before logging in, so I start with a clean slate.
This does seem to work for me. I have gotten this message only once in over a week.