code: func (a *AddrManager) addressHandler() {
  	dumpAddressTicker := time.NewTicker(dumpAddressInterval)
  	defer dumpAddressTicker.Stop()
  out:
  	for {
  		select {
  		case <-dumpAddressTicker.C:
  			a.savePeers()
  
  		case <-a.quit:
  			break out
  		}
  	}
  	a.savePeers()
  	a.wg.Done()
  	log.Trace("Address handler done")
  }
docs: // addressHandler is the main handler for the address manager.  It must be run
  // as a goroutine.