Tp-link one of 10 plug switch frequently unavailable on reboot

I have ten tp-link plug switches. After a reboot it is not unusual for one of them to be “unavailable”. It appears to be random which plug fails (it’s not the same one every time). The problem can happen whether the plug is on or off at the time of reboot. Reloading the tp-link integration seems to fix the problem but that’s not a great workaround. I don’t see anything in the logs that mention tp-link but there is one that mentions tuya. This may or may not be relevant:

Connection pool is full, discarding connection: px1.tuyaus.com

12:03:35 PM – /usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py (WARNING) - message first occurred at 9:09:05 AM and shows up 1046 times

Any suggestions?