Wrap an async function call for use with a circuit breaker