Camunda 7 parallel task is giving optimistic locking exception on nrOfCompletedInstances

Check Parallel_execution in camunda bpmn - #18 by MaximMonin to understand a problem with locking.

For multiinsance jobs, it is best to create subprocess with task have async after flag