Changing the process close code in tbstats.