If project creation times out, the error message includes a URL corresponding to the project creation task. That URL can be passed to this function (which will return the completed project details when finished) to resume waiting for project creation.
ProjectFromAsyncUrl(asyncUrl, maxWait = 600)
The temporary status URL
The maximum time to wait (in seconds) for project creation before aborting.