code: func (l *RaftLayer) Close() error {
  	l.closeLock.Lock()
  	defer l.closeLock.Unlock()
  
  	if !l.closed {
  		l.closed = true
  		close(l.closeCh)
  	}
  	return nil
  }
docs: // Close is used to stop listening for Raft connections