public static async Task IgnoreCancellation(this Task task) { try { await task.ConfigureAwait(false); } catch (OperationCanceledException) { } } }