How to disconnect a websocket?

Some error occour in the flow, how to disconnect this websocket or release from OS.


Websockets are attached to the ExpressJS app - so stopping the Node-RED server will kill off all of them.

But, just one of websocket is to be released, how

Could you give us more information about the problem you are seeing?