code: func (k *Kite) OnDisconnect(handler func(*Client)) {
  	k.handlersMu.Lock()
  	k.onDisconnectHandlers = append(k.onDisconnectHandlers, handler)
  	k.handlersMu.Unlock()
  }
docs: // OnDisconnect registers a function to run when a connected Kite is disconnected.