Returns the autoconnect_retries property of the connection.
Zero means infinite, -1 means the global default value.
the SettingConnection
the connection's autoconnect retries