Use `async_maybe!` instead of inline IIFEs (#6906)

This PR replaces instances where we were using an async IIFE with the
`async_maybe!` macro.

Release Notes:

- N/A
bbdf401a78Marshall Bowers committed on 1/28/2024, 1:49:56 AM· committed by GitHubparent5b9cc26
14 files changedLine totals unavailable