code: func (k *KeyManager) Stop() error {
  	k.mu.Lock()
  	defer k.mu.Unlock()
  	if k.cancel == nil {
  		return errors.New("keymanager is not started")
  	}
  	k.cancel()
  	return nil
  }
docs: // Stop stops the running instance of key manager