Make it a runtime option if sqlite3.connect() should use check_same_thread or not.