Treading: Print exception info on unhandled errors in tasks.