Designing a molecular watchdog timer for safety critical systems