I think you can just `throw new Error "Reconnected more than expected"` here