Fixed a potential RACE leading to leaked MBeanServerConnection