now the indexci get purged on shutdown... This solves a lot of syncing problems with the database