Destructor interrupts sync thread if running and blocks until it exits.
Declared in <index/base.h>
<index/base.h>
virtual ~BaseIndex();