Since .Net 8 (currently in .Net 8 and 9) there is a ConfigureAwait overload that accepts new ConfigureAwaitOptions enum, so now you can simply do this:
await task.ConfigureAwait(ConfigureAwaitOptions.SuppressThrowing);
and any exceptions literally will not be thrown.