Change async host type to struct to run on .net (broken for reference types)