PCT-970: Agent 1.0.8 running but web app says it's not connected

Also
* PCT-934: Agent 1.0.7 not sending data
* PCT-967: Agent becomes unresponsive