match http pool and task pool sizes