Try to solve ReentrantLock deadlock by interrupting threads when using lockInterruptibly()