Make retry timeout configurable