How to keep robot alive in AWS Virtual machin

Hi guys

If I reduce the vm window the uipath bot pause itself in AWS VM
İf I close the VM window then I had an error BUTTON timeout reached

Any way to keep this bot alive without having to keep the VM window opened ? the automation process is more than 10 hours I can’t keep the VM window open for 10 hours straight … And imagine then when I want to run 50 VMS the nightmare its going to be and if I lose internet connexion I lose everything

I tried also with Azure and its exactly the same

Many thanks