the point of websocket is to stay open .. otherwise you use http requests
there was a recent forum thread asking the same but i dont think there is a way to close the connection with the existing nodes.
Here is that post with a code alternative
the point of websocket is to stay open .. otherwise you use http requests
there was a recent forum thread asking the same but i dont think there is a way to close the connection with the existing nodes.
Here is that post with a code alternative