Number of attempts that have happened via nextDelay.
nextDelay
Return the delay before the next attempt, then increment the counter. Safe to call on a fresh instance (first delay uses attempt=0).
Called after a successful connect — drops the counter back to zero.
Number of attempts that have happened via
nextDelay.