saving the socket ip for disconnects