delete TDWriter