code: func WithReconnect(value bool) options.Opt {
  	return func(p options.Params) {
  		if setter, ok := p.(reconnectSetter); ok {
  			setter.SetReconnect(value)
  		}
  	}
  }
docs: // WithReconnect indicates whether the client should automatically attempt to reconnect
  // to the server after a connection has been lost