Limit the number of semaphores that can be created