Respect number of tasks per worker config