Different code for handling qstat of running jobs...