added TRI_ShutdownMemory() to free core reserve on clean shutdown