copy circuit breaker code from Daptiv.Infrastructure and timeout handler...

... from Daptiv.Bcl