結果 : python wait for a thread to finish