Alright. Thanks.
This is the main thread on the sleep mode issue:
So far, no permanent fix has been found, but four actions could be proposed:
- Disable all unnecessary devices, including hidden ones;
- Disable automatic switching;
- Change the Power settings to make the computer stay awake longer;
- This workaround suggested by user @metanoiance.