More exception safe odbc backend