Probably in a case when we launch a new process, we have to wait for some time before trying to access web API.