Obtains the list of resource to update in the offline index, then optimizes the
list by removing dup
Shuts down this offline index thread.
Helper method which changes the states of resources which are to be indexed but
have the wrong path
Gets the wait handle used for signalling when the worker thread has finished.
Updates the offline search indexes for the given list of resources.