added exception checks for iteration threads
scratch stuff