made max retries customizable for specic exception types
fixed SQL server timeout storage bug