code: func (i *AgentIPC) Shutdown() {
  	i.Lock()
  	defer i.Unlock()
  
  	if i.stop {
  		return
  	}
  
  	i.stop = true
  	close(i.stopCh)
  	i.listener.Close()
  
  	// Close the existing connections
  	for _, client := range i.clients {
  		client.conn.Close()
  	}
  }
docs: // Shutdown is used to shutdown the IPC layer