Update slot pool to use Semaphore instead of BoundedSemaphore
Enhance code documentation