[Python-ideas] Canceling thread in python