_mssql.pyx: Slightly simplified logic and better error messages for rare
failures