MouseTwitcher is a small application that will move your mouse cursor every couple of seconds whenever mouse inactivity is detected.

This will trick a Remote Desktop or any thin client session into thinking you are still connected so that it does not timeout on you and hang your application.