[ARIES-984] When shutting down, the JMX agent should wait for threads to be terminated Conflicts: jmx/jmx-core/src/main/java/org/apache/aries/jmx/agent/JMXAgentImpl.java