agentHost: wait for provider catalog migration before restoring a session (#331721)