Detect if critical path algorithm stalls