connect apnagent on app init per discussion