changed semaphore in rentRandomBook