Add retry func with exponential delay