thread opens statistics cursors so we have to configure statistics in
the wiredtiger_open call.