This helps when working out which connection to the database is doing what.
Along with the buildsystem changes to make `make check` work.