Error in Particle Cloud API? Connected status

When I make a call to the cloud I receive information from my device that it is connected when it clearly isn’t. If you look at the console output I have attached you can see that the connected status take a while to update, but the last heard time does not change. So if the last heard time was at 12:40 w/ 10 seconds, the device will continue to show a status that is connected for about a minute but the last_connected variable is aware that it isn’t updating. It just seems like the firmware itself needs to be fixed unless I’m missing something. I now have to write a function to compare last_connected times to update my own connected variable. Couldn’t attach an image so here is the terminal output.


Device name: Demented
Device id: Not for human consumption
Device connected:true
Last heard:2016-10-11T19:05:50.998Z
Device connected



Device name: Demented
Device id: Not for human consumption
Device connected:true
Last heard:2016-10-11T19:05:50.998Z
Device connected



Device name: Demented
Device id: Not for human consumption
Device connected:false
Last heard:2016-10-11T19:05:50.998Z
DEVICE DISCONNECTED!


Device name: Demented
Device id: Not for human consumption
Device connected:false
Last heard:2016-10-11T19:05:50.998Z
DEVICE DISCONNECTED!