implement retry? saw an error trying to get data from the /history endpoint that caused the `scan` command to terminate