Fix a case of infinite download