Handle unsuccessful status code the same in MemoryHost.