Fix GH-169 endless loop with atBegin/nospawn

This commit fixes an issue where a failure of a watch task with options `{ atBegin : true, spawn : false }` lead to an infinite loop of tasks.

So far I've checked this manually, I'll try to add a test to this PR in the coming days.