結果 : python thread on_close