Whenever you're ready, walk me through how you'd approach this.
You're reviewing a service that makes parallel HTTP requests to fetch metadata for a list of product IDs. The code is implemented using asyncio and httpx and is meant to run concurrently. But logs show that it processes one request at a time, defeating the entire point of async.
Your task:
Identify the bug that causes sequential execution despite using async/await. Rewrite the function to make full use of concurrency. Explain what await does and why it's causing the issue here.