add option hashdb_scan_open_per_thread to open one DB per thread