Add an auto reconnect feature in case of a disconnect.
Add an auto reconnect feature in case of a disconnect.