Apollo-angular with subscription

I’m using a click bottom to query an API and after getting the result am using a subscription query to listen to every update but my problem is when I close the bottom and click it another time the subscription open another socket connection and the old one still opening.
is there any way to close the connection of the subscription query and reopen it.