C Wait On Async Function