Abort download script on error