Ignore cancellation errors in all() and any()