Prevent script from breaking on tasks errors.