Fix assert in dose

The assert on debug timer invariants was breaking attempts to
recover after failure from OPAM.