Revert "avoid multiple callback calls in sync()"

This reverts commit 95555c8ab09ea089a3e7054da699d8f96da59af8.
avoid multiple calls to callback (bis)