change the way to use RetryQueryRunnerConfig