Don't emit "complete" until all tasks have actually completed.
Merge pull request #1 from sethkinast/master

Don't emit "complete" until all tasks have actually completed.