Updated ContinueTask to propagate exception