Using SQLite in a Threaded Java App