Register sync handler as soon as possible:

* allows more work to be done between promise creation and promise get
* more chance to catch the cue

Might possibly help with issue #148