Fix the ant execution concurrent issues