Replays a request when a network error occurs using the retry module