Improve check that the ODBC connection is working