Use mLock.lockInterruptibly() in th acquire() method of SimpleSemaphore