try in lapply for x12Batch to improve stability, as a resutl some
elements of x12List can be of class try-error