AdHocCommandManager leaves thread running

The sessionsSweeper thread created in AdHocCommandManager remains in running state

when our application shutsdown. There doesn’t appear to be any method or cleanup logic to

stop this thread. This logic appears to be new, i.e. post 3.0.4 build.

In the meantime, updating the smack-config.xml resource file to not auto load this class helps

resolve the issue.