Switch screensaver after a while

The idea is simple: my favourite screensaver fetches picture from my external hard drive, and then results in continuous 24/7 access of the hardrive with long term conséquences on the HD. The idea would be to stop this screensaver and replace by a basic black screen after quite some time (2 hours?). No configuration of this kind seems possible on Kodi.