terminate worker browser when done