after resetting software, retry_software_count was not resetted correctly