[connectionagent] dont allow cell to connect in offline mode.

This helps with too many errors being reported.
Merge pull request #48 from lpotter/master

[connectionagent] dont allow cell to connect in offline mode.