stack trash per thread instead of per session