added clean exit line for emtpy threadlist on cleanup