terminate worker