Terminate a worker in Dynamics