Now instead of waiting and deleting the Document, now after either an
error occured or the request successfully finished the Document finished