Try to add some retry logic in case of a gateway timeout error.