Refactor concurrency and http retry parameters