Better processing strategy, more robust - do not crashed when document is not successfuly processed