resetWorkers function

Free up active background workers