Add parallel to batch-based job submission to accelerate the process and may fix the memory leaking too.