another thought: setInterval() may still help... as an indicator only, in case you go over 2 seconds.
good night

gparis