set retry option