Refactor code by moving retry logic into a separate method. Make retry configurable on the wait times and on the number of times it will retry before calling panic. Update code to make use of retry method and move server api calls that are retried into their own separate methods to keep the logic clean.
Refactor code by moving retry logic into a separate method. Make retry configurable on the wait times and on the number of times it will retry before calling panic. Update code to make use of retry method and move server api calls that are retried into their own separate methods to keep the logic clean.

materials-commons/mcstore,materials-commons/mcstore,materials-commons/mcstore