LPS-49307 make sure to wait for the portal to be completely up