Fix HTTP retry