Revert "[CORE] Free pending search contexts if index is closed"

This reverts commit ad48563d31181ecd1e649a549a541b383018e8ff.
Revert "[TEST] Add search trace logging for debugging"

This reverts commit a1ea09f43efcc3e211ad3833297af6d86610f6df.