Add capacity to semaphore so that initial size can be queried later.