code: func (cs *Stats) SetErrorAndReset(err error) {
  	cs.mutex.Lock()
  	defer cs.mutex.Unlock()
  	cs.CPUPercentage = 0
  	cs.Memory = 0
  	cs.MemoryPercentage = 0
  	cs.MemoryLimit = 0
  	cs.NetworkRx = 0
  	cs.NetworkTx = 0
  	cs.BlockRead = 0
  	cs.BlockWrite = 0
  	cs.PidsCurrent = 0
  	cs.err = err
  	cs.IsInvalid = true
  }
docs: // SetErrorAndReset zeroes all the container statistics and store the error.
  // It is used when receiving time out error during statistics collecting to reduce lock overhead