Sqlite db to threadlocals=True