Terminating ant application