implement smart retry handler
implement smart retry handler