Fix bug. Broker didn't manage the number of workers correctly.