Created a protocol on top of websocket.
Send FIN packet from server to client.