結果 : how to wait for async function to finish python