code: func (m *Manager) RemoveServer(s *metadata.Server) {
  	m.listLock.Lock()
  	defer m.listLock.Unlock()
  	l := m.getServerList()
  
  	// Remove the server if known
  	for i := range l.servers {
  		if l.servers[i].Name == s.Name {
  			newServers := make([]*metadata.Server, 0, len(l.servers)-1)
  			newServers = append(newServers, l.servers[:i]...)
  			newServers = append(newServers, l.servers[i+1:]...)
  			l.servers = newServers
  
  			m.saveServerList(l)
  			return
  		}
  	}
  }
docs: // RemoveServer takes out an internal write lock and removes a server from
  // the server list.