addListener

Adds a listener for circuit breaker state changes.