Cycle timeout calculation