New thread manager for in-memory sqlite.