restore closing of tpsChan