Fix two cases where downloading doesn't resume after get back network connectivity