Particle photon 2 (p2) stuck/hangs after some random time of normal operation

Hi, I have noticed that Photon 2 tends to hang, even simply running the blink sketch or tinker. It hangs from time to time at any random level of breathing state - sometimes bright, sometimes dimm or off.
I have spent quite significant amount of time trying to find out why and I have discovered that this is due to I was using internal antenna. Hnaging happened more often to those photons that have had a weak wifi signal.
All in all - since I have switched from internal antenna to external one, it hangs no more, not even a single time (I have like 5 of them running 24/7 powered via USB).
Looks like the Photon P2 design has a flaw and is suffering some RF issues while using the internal antenna.
Are there any similar reports or plans to improve it?
I also wanted to create this thread to hint at what may help in case of such issues.

What version of Device OS are you running on the device?

Hi,

The issues I have had were observed mainly under version 5.9.0.
I have tried some other versions, but they didn't change anything, so I returned to 5.9.0. I haven't tried 6.2.1 yet.
All the issues were gone once I switched to an external antenna.

The SOS when you have poor Wi-Fi signal strength is probably not fixed yet. See this thread: