retry operation on fail