hotfix
Adding the ability to synchronously call callback.
Merge pull request #7 from ex1st/master

hotfix