Opened the socket with with and added more doc.