retry 3 times before finally raising