add method to end the worker farm