[retry] Added configurable timeouts to retry timer