Call Database DB_PRIMARY   SQL_CLOSE_SESSION | SQL_CLOSE_SOCKET,
     Database DB_SECONDARY SQL_CLOSE_SESSION | SQL_CLOSE_SOCKET,
     Database DB_TEMPORARY SQL_CLOSE_SESSION | SQL_CLOSE_SOCKET | SQL_CLOSE_ANYWAY
