Fixed worker creation and stopping