Change number of workers dynamically