Executes tasks using a pool of slave processes