bugfix for visibility when agent is down
Merge pull request #68 from spottradingllc/bugfix-agent-state

bugfix for visibility when agent is down