Add auto reconnect option.
Add auto reconnect option.