Commented code out to have working thread intrpts