Add basic timer to measure performance.
Log error
Adjust parallelism

Reduce i/o related parallelism and increase cpu related parallelism to
keep RAM in limits.