read tag after programming and retry programming if needed