code: func (agent *Agent) reboot(ctx context.Context) error {
  	logging.Infof(ctx, "Rebooting.")
  	tsmon.Flush(ctx)
  	for {
  		if err := agent.strategy.reboot(ctx); err != nil {
  			return err
  		}
  		time.Sleep(60 * time.Second)
  		logging.Infof(ctx, "Waiting to reboot...")
  	}
  }
docs: // reboot attempts to reboot the machine.
  //
  // Does not return except in case of error.