Constrain when onFulfilled and onRejected may be called

Fix #129. Prevent handlers from being called too early.