remove websocket on endpoint2