remove retry function.