.NET Core 3.0 AllowSynchronousIO Workaround