Synchronize index access
Use a thread-safe connection pool for value_db