Check requested stop task name exists in the suite.

Closes #337.
Merge pull request #662 from hjoliver/337.fix-stop-after-task-bug

Check requested stop task name exists in the suite.