add retrying to the request notebook