employ different strategy for multithreading sqlite3