How to stop socket reconection when calling Ajax requests made from Jquery?

I am having a socket connection running on node.js using socket.io library. I have a connect to socket statement at top of my script I have to make to ajax requests through jquery load dynamic content on user clicks. But unfortunately every time i click the connection is getting re established. How do i stop this.

Thanks in advance