fixed logging error
Added more retries if checksum failed