CMS-1035 Invalid state - SEVERE: Index transaction already started

This happens because the task-plugins are inside a transaction that is not commited before the whole task is completed, thus the IndexTransactions that are attempted started in InternalClientImpl are already started.