A similar refactoring for renderAsync(). Must now find a way to
extract the common logic.