private async Task ThrowTaskExceptionIfFaulted(Task task) { if (task.IsFaulted || task.IsCanceled) await task; }