When an OnLLMRequestEvent hook stops event propagation, the
reset_coro created by build_main_agent was never awaited, causing
a RuntimeWarning. Close the coroutine explicitly before returning.
Fixes#5032
Co-authored-by: Limitless2023 <limitless@users.noreply.github.com>