Fix the retry method of getPortfolio for cexio