Separate DB connection for background thread.