task: use HCL_DIR when set in the env.
app: retry on throttle