title: How can I apply a timeout to an Ant task?
body: <p>Without writing a custom Ant task, is there a way to use a timeout on a regular ant target?</p>
  
  <p>To give some background info: we are using the 'delete' task to remove the contents of a given directory.
  Sometimes this directory is massive, with lots of generated folders and files.
  We wanted to have that task timeout after, say, 5 minutes.</p>