I am running a task in background. Half of the task does the validations, next half inserts into a table.
For small number of data everything is working fine.