added unregistering in JMX