[core] Make `--max-downloads ...` stop immediately on reaching the limit e6a836d54c
e6a836d54c
989a01c261