Reference-to: https://github.com/tenacityteam/tenacity/issues/502 Signed-off-by: Lucas Fugmann <lucas@fugi.dev>