try to avoid calling qstat too much as requested by NERSC