AEResetTimer
You can use the AEResetTimer function to reset the timeout value for an Apple event to its starting value.
for the server application uses the default reply to send a Reset Timer event to
intercepts this Apple event and resets the client application's timer for the
Apple event. (The Reset Timer event is never dispatched to a handler, and the
client application does not need a handler for it.)
its starting value. A server application can call this function when it knows it
cannot fulfill a client application's request (either by returning a result or by
sending back a reply Apple event) before the client application is due to time
out.
The reply parameter is the default reply for an Apple event and is provided by Result codes
noErr (0) No error
errAEReplyNotValid (-1709) AEResetTimer was passed an invalid reply