adds close to workerPool, adds dispose to Search