cancelAll method
void
cancelAll()
Cancel all pending timers and clear the tracker.
Called during dispose or when the socket disconnects to prevent stale timeouts from firing against a new session.
Implementation
void cancelAll() {
for (final timer in _timers.values) {
timer.cancel();
}
_timers.clear();
}