Support auto reconnect