code: func (d *Death) listenForSignal() {
  	defer d.wg.Done()
  	for {
  		select {
  		case <-d.sigChannel:
  			return
  		case <-d.callChannel:
  			return
  		}
  	}
  }
docs: // ListenForSignal Manage death of application by signal.