結果 : wait for threads to finish python