code: func (h *Heap) Close() {
  	h.lock.Lock()
  	defer h.lock.Unlock()
  	h.closed = true
  	h.cond.Broadcast()
  }
docs: // Close the Heap and signals condition variables that may be waiting to pop
  // items from the heap.