[TEST] Close threadpool once test searchcontext is released