add a new unit test for the task that throws from teh CloseEvent handler
Merge pull request #844 from Microsoft-CISL/sergiym_fail_task_close

unit test for the task that throws from CloseEvent handler