Add semaphore locking to usb's interface pool