enforce retries for db connection exceptions.