Kick's disconnect or error code, the socket's close code (1006 for a network drop or a refused handshake), or 0 (a timeout, a failed request, silence).
Kick will not take this client back as it is (a refused token, a ban, a
connection limit: codes 3500-3999 and 4500-4999, among others). Not the
end: connectChat waits longer (waitMs, 5 minutes or more) and comes
back as a new guest client. Worth a warning.
How long connectChat waits before connecting again, ms: the ordinary backoff (0.5 s growing to 30 s, jittered), or after a terminal close 5, 10, 20, then 30 minutes in a row, plus up to a quarter.
Why a connection, or an attempt at one, ended, and when the next one starts.