How to prevent Safari from stopping downloads when sleeping?
Could not figure out why this was happening but using the caffeinate command I was able to fix it. 

https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man8/caffeinate.8.html

I ended up just created a LaunchDaeomon to run it at certain times.