https://www.thinkasadev.com/en/retry-failed-queries-with-microsoft-data-sqlclient/
Retry failed queries with Microsoft.Data.SqlClient