Figuring out doing Async in C