using safer approach for timeout decision