Clean up JMX connection utilities