結果 : python restart thread after exception