C# implementation of the circuit breaker pattern. http://msdn.microsoft.com/en-us/library/dn589784.aspx