[DO_NOT_MERGE] Fix bug 1029678: move domain fetch out of async block