Multi-threaded activities now stop all threads when exited.