fix promise broken using co@4.x

Closes #2