Just add a bit in the run method to deal with the interrupted flag...