fixed curl retry count / continue download