Make retryWaitTime a config setting