[3.11] gh-99357: Close the event loop when it is no longer used in test_uncancel_structured_blocks (GH-99414) (#99424) (cherry picked from commit 99972dc7450f1266e39202012827f4f3c995b0ca) Co-authored-by: Xiao Chen <chenxiao_7@163.com>