Maybe it is better to put the join() in finally. As it may raise error before this line.