tm: reset T if t_continue() resumes a canceled transaction
- when the suspended transaction was already canceled, and t_continue
was executed before transaction was destroyed, global variable T was
left set, causing an extra unref by post script callback