sets ConnectionSemaphore on MetaData at creation time