Consider Thread.interrupted()