added check for 404 response from the index_save call, assumes that auto_create_index is disabled and attempts to create the index before saving a second time