Distinguish between close and abort in MemoryHost.