The short answer is —by default, Windows pauses all network activity and downloads when the PC enters Sleep mode . Sleep is designed to save power by stopping most system operations, including your Wi-Fi or Ethernet connection.
– You can prevent sleep while downloads are active: windows do downloads continue in sleep mode