Merge pull request #1057 from clebertsuconic/master-fix

fixing test leakage
Merge pull request #1058 from clebertsuconic/master-fix

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