Merge pull request #1021 from am11/master

Embed: Wait for asyn result (#1020)