Async bug fixed.
Merge pull request #49 from bredikhin/master

Async bug fixed