Simple retry mechanism to cope with a temporarily unavailable endpoint