Killing External Programs


I am having trouble with a routine of mine. it is a timer unit which counts
down from 15, 30, 45 or 60 minutes. When you click the start button to launch
the countdown, an external program is run.

What i can't figure out is how to kill the program automatically when the
counter reaches 0. The program does terminate, but only when it is done playing
the current file. (it plays mods).

Is there a way i can terminate the app automatically when the counter = 0?

Please email me at