Add 500 and 502 to the exit codes retried in RESTInteractions