We are replacing all usages of the retrying package with
tenacity with an end goal of removing the retrying package
from our requirements.
This patch also demonstrate how to use the new api to retry only for some
of the exception error codes
Change-Id: Ie1b082848ac6153d29af7779de914071dc8c1ba5