Check for Thread.interrupted() more often