Only purge remote job when JOB_STATE_COMPLETE