use a more up to date API for reindexing a resource and do it in MODE_IMMEDIATE when asked