Fixing a bug where we were not synchronizing on getting the name of the JMX bean. This would affect non-unique names such as multiple connections to the same machine