make sure the job accounting info is not updated if the job is not in executing state