Photons go off line and on line repeatedly

Hello,

can someone lead me in the right direction to resolve this issue?
I have 3 photons running at the same time and interact with each other. Two of the 3 photons publish 4 events each to the cloud and 3 photons subscribe to each others published events.
This works fine for hours and entire days. Then suddenly they each disconnect and reconnect to the cloud at the same time. The disconnect and reconnect occurs when one of the 3 Photons starts publishing.
My wi fi internet connection is fine and the photons are within range.

The first thing I always recommend checking is your DHCP lease period. Lots of consumer routers have a 24 hour lease. Can you check the logs on your router? Maybe there is a setting to make the period longer?