Compute the current backoff delay based on consecutive failures.
Delay in milliseconds.
Current consecutive failure count.
Sleep for the current backoff duration.
Optionalsignal: AbortSignalOptional abort signal.
Record a system-level failure. If maxRetries is exceeded, triggers fatal error.
The error that occurred.
Whether the watcher should continue (false = fatal).
Record a successful system operation. Resets the failure counter.
Tracks system health via consecutive failure count and exponential backoff.