adding retry during failures