Added code to run terminations through to each thread