結果 : wait for thread to finish python