Better download error handling