removing the web socket