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

This helps with too many errors being reported.