Fix state when reconnecting with same WS connection object.