Add check for more than 3 attempts to download a file with md5sum
mismatch and abort the download attempts