SQLite multi-thread support.