code: func ContextWithOptionalTimeout(parent context.Context, timeout time.Duration) (context.Context, context.CancelFunc) {
  	if timeout < 0 {
  		// This should be handled in validation
  		klog.Errorf("Timeout for context shall not be negative!")
  		timeout = 0
  	}
  
  	if timeout == 0 {
  		return context.WithCancel(parent)
  	}
  
  	return context.WithTimeout(parent, timeout)
  }
docs: // ContextWithOptionalTimeout wraps context.WithTimeout and handles infinite timeouts expressed as 0 duration.