Make elasticsearch log service LogTask complete the same document (id) it started.