Made all functions include instructions on how to retry when calling the handleError function