Cancel indexer threads in cleanup() instead of joining