Fixed not closing all websocket connections