Added a try catch on result downloading that will raise an exception with the status location.
Implemented a bit more robust result download method.