Switched to runInForegroundAsync.