Added Sqlite3.threadSafe.