code: public void closeThrow() throws JMException {
  		try {
  			if (jmxConnector != null) {
  				jmxConnector.close();
  				jmxConnector = null;
  			}
  			// NOTE: doesn't seem to be close method on MBeanServerConnection
  			mbeanConn = null;
  		} catch (IOException e) {
  			throw createJmException("Could not close the jmx connector", e);
  		}
  	}
docs: Close the client connection to the mbean server. If you want a method that does not throw then use
  {@link #close()}.