Or until there's not enough excess energy to continue producing hydrogen; I don't see a reason why we'd expect the hydrogen to become unprofitable (water to become too expensive?) first.
Oil price changes disrupt oil operations all the time. The hydrogen energy economy will have times where it's not profitable for an individual actor to generate hydrogen too.