https://issues.jboss.org/browse/HORNETQ-1198 - fixing leaked threads
Merge pull request #1058 from clebertsuconic/master-fix

https://issues.jboss.org/browse/HORNETQ-1198 - fixing leaked threads