make sure we use polyfilled promises
resolve promises on stop
jshint