change Kite.OnConnect handler signature