Method EnsureConnectedAsync(CancellationToken)
Called by before it sends: when the connection was marked lost, either fails at once while
the next attempt is not due yet ("the next reconnect attempt is due in N s"), or runs
and again, one caller at a time; concurrent sends wait for that attempt. A failed attempt
grows the pause; a successful one reports the connection restored. Returns at once while connected.
protected Task EnsureConnectedAsync(CancellationToken ct)