Change reset to cancel scheduler and ensure scheduler works properly.
Fix circuit breaker failure handling and make tests more robust.