Make interrupt check actually reset the interrupt state so the thread can work for more than one regexp.  Add some unit tests