Apply comments from @annevk in #72.
Don't resolve promises from a task.
Merge pull request #76 from mounirlamouri/anne_comments

Apply comments from @annevk in #72.