Added worker termination