Added in availablePermits() method to better match Semaphore API