You might also consider making the retry delay an optional argument to this method with a default value of 5 seconds (or whatever you see fit).