if addConnection is called before any getConnections, there is a NPE
java.lang.NullPointerException at org.jboss.tools.jmx.core.providers.DefaultConnectionProvider.addConnection(DefaultConnectionProvider.java:111)