fix tstream close bug