Add retry logic for incomplete jobs