code: func (c *RPCClient) deregisterAll() {
  	c.dispatchLock.Lock()
  	defer c.dispatchLock.Unlock()
  
  	for _, seqH := range c.dispatch {
  		seqH.Cleanup()
  	}
  	c.dispatch = make(map[uint64]seqHandler)
  }
docs: // deregisterAll is used to deregister all handlers