Bad internet connectivity freezes the game when trying to connect to photon chat in corona sdk

Hi all,

In corona sdk, the game freezes (animations stop, touch events get captured but handlers don't fire until game unfreezes) until good internet connectivity returns or the internet goes completely off.

I've tried to solve this by wrapping the calls in a timer.performWithDelay to move the calls to another thread, but, that still does not work. Could this be a low level socket problem?

Any tips on troubleshooting or fixing this issue?