circuit breaker is used to provide stability and prevent cascading failures in distributed systems