Fix WS for auto reconnect