Cancel index sampling when the index is dropped