code: func (d *deliverServiceImpl) Stop() {
  	d.lock.Lock()
  	defer d.lock.Unlock()
  	// Marking flag to indicate the shutdown of the delivery service
  	d.stopping = true
  
  	for _, client := range d.blockProviders {
  		client.Stop()
  	}
  }
docs: // Stop all service and release resources