add configurable retry attempts on request sending