Javadoc
Specifies whether associated connections should attempt to automatically
reconnect to the target server if the connection is lost. Note that
automatic reconnection will only be available for authenticated clients if
the authentication mechanism used provides support for re-binding on a new
connection. Also note that this option will not have any effect on pooled
connections because defunct pooled connections will be replaced by
newly-created connections rather than attempting to re-establish the
existing connection. Further, auto-reconnect should not be used with
connections that use StartTLS or some other mechanism to alter the state
of the connection beyond authentication.
NOTE: The use of auto-reconnect is strongly discouraged because it is
inherently fragile and can only work under very limited circumstances. It
is strongly recommended that a connection pool be used instead of the
auto-reconnect option, even in cases where only a single connection is
desired.