sets ConnectionSemaphore in MetaData if such exists and don't need
initialization