add support for registering custom circuit breaker

pls add a comment