retrying failed requests working