[connectionagent] fix crash when ofonod dies