refine socket cache
refine socket cache