omp pragmas must be enclosed with #ifdef-s
More comprehensible user output
Printing time it took to clean DB
Much more efficient DB cleaning

Individually detaching clauses is slow. Detach them all in one go, and
the re-attach the ones that are needed