Hmmm I never thought to used sleep for any thing that long I use
#include <Date.au3>
Local $i_End, $i_Hours, $i_Mins, $i_Secs, $i_Begin
$i_Begin = TimerInit()
...
$i_End = TimerDiff($iBegin)
_TicksToTime($iEnd, $i_Hours, $i_Mins, $i_Secs)
$Dummy03 = StringFormat("%02d:%02d:%02d", $i_Hours, $i_Mins, $i_Secs)
If $Dummy03 > '00:04:05' Then ExitLoop