Prevent connections during initialization.