Use lockInterruptibly http://docs.oracle.com/javase/1.5.0/docs/api/java/util/concurrent/locks/Lock.html#lockInterruptibly%28%29 instead.