結果 : how to close a thread python