I am not able to stop ant targets that invoke java with fork set to true
<java classname="com.rbs.ird.utils.Jetty" dir="$" fork="true" />
When such task is invoked from Ant Build window, a dialog box appears with Cancel and Background buttons. Pressing Cancel button disables it but dialog stays open and the task keeps running. If Background is pressed dialog closes and the task keeps running in the background, however stop button does not stop the task, pressing stop does not do anything.