like said it was workaround.
first, it still stops after the seconds.
also, the correct way would be:
IF (@ERROR OR $RC="") and $TIMEOUT<5

but when there is short timeout I would go with:
IF $RC="" and $TIMEOUT<5

cheers...
_________________________
!

download KiXnet