fix(destroy): wait for job state inactive on destroy