[connectionagent] don't try to connect to context if there is no mobile

network registered.