In the Chrome Console tab, you can easily disable WebSocket using:
queryObjects(WebSocket)
This will print list of active websocket connections. Then you have to make a right click on appeared websocket array
and choose Store as global variable. It will be saved under temp2 variable (might 1, 3, 4, 5).
Now you can actually close the rquired ws connection by typing:
temp2.close(1000, 'test')