code: func (w *DefaultWorker) Halt() {
  	w.startClosing(func() {
  		w.state = halting
  		w.lifecycle.AbandonAll()
  	})
  }
docs: // Halt stops the heartbeat and queue polling goroutines immediately and cancels
  // all tasks, marking them as FAILED before returning.