fix socket bug when use tracker socket in multi-thread