shut down thread pool when disposing parallel tempering
update tests to dispose searches