I always disable auto-sleep first and foremost whenever I get a new PC lol. To not let this things happen to me whenever I download games, especially those hefty ones that needs a lot of storage space. It's another thing when the power suddenly cuts off though :(.