Closing a Websocket

Pushwinder
How to close a Websocket?? I have tried "break", the program stops but it is still connected.
This discussion has been closed.