I'm using XP Prof SP2 and VBScript, WSH v5.7

I have a script installed on a remote machine, ComputerB. On the local,
ComputerA, are two scripts which start and stop the script on ComputerB.

The script on ComputerB makes two ExecNotificationQueryAsync calls and
reports by e:mail when the specified events occur.

When the script is started, from ComputerA, two instances of wmiprvse.exe
are started, on ComputerB, and a single Unsecapp.exe. That's all fine.

The script is kept 'live' with a Do-Sleep-Loop.

I'm trying to discover if there's a way of stopping the ComputerB script
gracefully, so that it can call the .Cancel method on the two Async calls.

At present, the ComputerA Stop script simply .Terminates the WScript process
on ComputerB, but this leaves the two wmiprvse.exe and the Unsecapp.exe
still running on ComputerB.

For now ComputerA, stops and starts WMI and .Terminates Unsecapp, leaving
ComputerB in a 'clean' state.

This seems a bit ham fisted when .Cancel would, effectively, do this for me.