fail if some download return error

Signed-off-by: Luca Clementi <luca.clementi@gmail.com>