New mutex setup for pausing.
Threaded db tests.