code: func (r *Reflector) timeoutForWatch() *int64 {
  	randTimeout := time.Duration(float64(minWatchTimeout) * (rand.Float64() + 1.0))
  	timeout := r.nextResync.Sub(r.now()) - timeoutThreshold
  	if timeout < 0 || randTimeout < timeout {
  		timeout = randTimeout
  	}
  	timeoutSeconds := int64(timeout.Seconds())
  	return &timeoutSeconds
  }
docs: // We want to avoid situations when periodic resyncing is breaking the TCP
  // connection.
  // If response`s body is not read to completion before calling body.Close(),
  // that TCP connection will not be reused in the future - see #15664 issue
  // for more details.
  // Thus, we set timeout for watch requests to be smaller than the remaining
  // time until next periodic resync and force resyncing ourself to avoid
  // breaking TCP connection.
  //
  // TODO: This should be parametrizable based on server load.