Added check to show if the job is still pending process
Added check to show if the job is still pending process