perf: optimize pool shutdown