change number of processes in pool