Can’t get matter devices reconnected after turning off power

I can’t get my matter devices reconnected.
I turned off the breakers to my network equipment while I was wiring some stuff. I have done this many times without an issue. When I turned the breaker back on, everything went on fine. When the home assistant yellow powered up, all devices reconnected except for matter devices. Not a single matter device reconnected.

I tried all the troubleshooting steps including restarting the matter server, matter integration, thread integration, restarting the home assistant yellow, etc

The fix ended up being that I had to reconnect every single device. As I reconnected them, it also duplicated all of the entities for each device. It was a lot of work.

Does anyone have any ideas for avoiding this in the future?

There was bug in older matter server version that resulted in this. I was fixed in December or November I believe .

I’ve personally seen devices take a LONG time reconnecting after power outage