Removing some of the mutex enabling around db:with-db seems to improve performance