I had the same problem. I solved the issue by changing the power option on the wifi adapter. Go to Device Manager. Open the Network adapters section, right-click the wifi adapter and choose properties. Go to the Power Management tab, uncheck allow the computer to turn off this device and change it to allow this device to wake the computer, save your changes and you’re done.