Avoid using unnecessarily many connection in TestRuntimeParameters