Better error handling during streaming download