Use semaphore to wait for all server run threads to start