Clean up index manager.