code: func (container *Container) ResetRestartManager(resetCount bool) {
  	if container.restartManager != nil {
  		container.restartManager.Cancel()
  	}
  	if resetCount {
  		container.RestartCount = 0
  	}
  	container.restartManager = nil
  }
docs: // ResetRestartManager initializes new restartmanager based on container config