statistics: fix bug in factory destruction during recycle