Added continue on error support for tasks.