add max tasks per process