@craigfoo, I have an issue posted on the develop firmware regarding this problem. I believe it is related to DNS timeouts. @AndyW did some great sleuthing here:
I am working on raising this issue with the Particle team.