[connectionagent] use a timer to see if we are really online.

If after 12 seconds from 'ready' state, we are not online,
send error to ui about it.