Wait For Async Function To Complete