memory leak fix for tracker service