[Edward, Andrei] added RetryConfig