Changed to Task instead of TaskEx