Cleaning up an MBean when its resource dies