If you are good to run from harddrive as well and are prepared to invest a bit more work than simply downloading and running it, then you could have a look at WHDLoad, esp. at its
Timeout function. With that option you should be able to exit the demo after a given interval.
Since WHDLoad returns cleanly to the OS you could put this all in a looping batch file and voila.