Close the JMXConnector in the JMX tests to avoid leaking endpoints & threads