socket pool and better link handling