thread errors unwind stack and propogate condition to main thread