code: func (m *MemoryBackend) Terminate(client *Client) error {
  	// acquire global mutex
  	m.globalMutex.Lock()
  	defer m.globalMutex.Unlock()
  
  	// release session if available
  	sess, ok := client.Session().(*memorySession)
  	if ok && sess != nil {
  		sess.owner = nil
  	}
  
  	// remove any temporary session
  	delete(m.temporarySessions, client)
  
  	// remove any saved client
  	delete(m.activeClients, client.ID())
  
  	return nil
  }
docs: // Terminate will disassociate the session from the client.