fix test; background indexing behavior changed (for the better)
fix reconfig.js on Windows by removing Client from heartbeat thread

The heartbeat thread has no use for a Client context, and it has trouble
at process shutdown time -- it tends to hit an access violation on Windows
when it tries to destruct the Client context.