added handling for retry after IOError