mssdemux: add a maximum error count for downloads