rebuild the socket on render