Added Retry.WhileExceptionIsThrown(Action action, TimeSpan retryPeriod, TimeSpan retrySleepPeriod).