fix for: https://issues.apache.org/jira/browse/AMQ-4238 ensure we clean up when the ManagementContext gets shut down.