結果 : python kill a function after a certain time