add job status check before execution