Add retry logic to mmc_readline to prevent spurious connection errors