The StopWait() method interrupts a Wait() call.
VBScript:
JScript:
See Script.StopWait().
Script.StopWait()
APGScript Object