refine appspot socket cache