This is a clue. Screensavers use the CPU quite heavily so that CPU could be overheating. The simple test is to remove the case cover and see if the problem takes longer or vanishes.
Lately I've noticed my computer freezes up in the screensaver mode causing me to have to shut the computer down and then restart it. Any clues as to why this happens?