Changing Dispatcher.BeginInvoke to async/await