This App can help you to modify Wi-Fi policy settings
Then: No more breaking downloads !! ^^
There are three Wi-Fi Policy setting you can change.
*Wi-Fi will Off on device is sleep
*If devices was plugged, Wi-Fi will On during sleep
*Wi-Fi Always On
It's free to use.