Sounds like you hit server (a) in the pool then server (b) in the pool. And b was a little behind on the cache.
You may also be interested in using EventSub instead. And then Twitch will tell you when a streamer goes live/offline instead. That would reduce errors