reset method

void reset()

Resets the backoff after a successful connection.

Implementation

void reset() => _attempt = 0;