need to add a delay after removing items before trying to invalidate them