windows-parent-model updated to new waitOrGo with cancelablePromises