Configurable retry & connection setting
Make code more readable by referring to container object
Change settings to finite duration & clean up the conf parsing