Add auto reconnect.