Perform the sem_wait on the constructor semaphore just before the main