Replace another APM usage with async/await.