Hi,
Have you tried disabling Sleep Mode and will it still go to Sleep Mode? Here are some troubleshooting steps that may help.
- Open Power Options then click on Change Plan Settings then Change Advanced Power Settings.
- Expand Hard Disk then set Turn off Hard disk after to NEVER.
- Expand Sleep and set Allow hyrbid sleep to OFF.
- Set Hibernate after to NEVER.
- Do also set Sleep Mode to Never.
- Click Apply and OK then test it again and see if the same problem will persist or not.