The SqlConnection remains open when the severity level is 19 or less. When the severity level is 20 or greater, the server ordinarily closes the SqlConnection. See Database Engine Events and Errors. The SqlException class maps to SQL Server severity.