better error handling on tasks