Kodi turns itself off



When watching something on Kodi, if I pause the video and go take care of something, when I come back it has shut down and I have to restart Kodi from the beginning and then find my place in the video. Is there a way to extend the amount of time I have from once I pause it until I return? It seems like I have maybe 4 or 5 minutes before it cuts me off. Please tell me there is a way to extend that amount of time.

Regards
Bruce