code: func (t *servingTask) done() uint64 {
  	t.servingTime += uint64(mclock.Now())
  	close(t.token)
  	return t.servingTime
  }
docs: // done signals the thread controller about the task being finished and returns
  // the total serving time of the task in nanoseconds.