To prevent the computer from ‘falling asleep’ you can install another app that will block sleep mode. Here are examples of apps for different operating systems:

I have Windows

App name: Caffeinated (download)

Untitled

I have Mac OS

App name: Amphetamine (download)

Untitled