Switched from curl to wget to better handle disconnects