How can I kill a thread in python,thread.exit()