clear up some references left lying around in tpool