code: func (lc *LightChain) Stop() {
  	if !atomic.CompareAndSwapInt32(&lc.running, 0, 1) {
  		return
  	}
  	close(lc.quit)
  	atomic.StoreInt32(&lc.procInterrupt, 1)
  
  	lc.wg.Wait()
  	log.Info("Blockchain manager stopped")
  }
docs: // Stop stops the blockchain service. If any imports are currently in progress
  // it will abort them using the procInterrupt.