PBS, SGE: wait after submitting jobs via qsub