Use a retry policy for variants search

For #19