重试逻辑代码 在stackoverflow网站上搜索到的结果 http://stackoverflow.com/questions/1563191/c-sharp-cleanest-way-to-write-retry-logic