only cache first socket.