refactoring in SearchSwingWorkerManager