Thread's pool in pathfinder class