Added waitfor into ant script