After ODBC Test successfully calls SQLFreeHandle with a HandleType of SQL_HANDLE_STMT, it removes the statement handle from the statement handle list of the current connection window.