Merge pull request #1653 from jbertram/2.3.x

HORNETQ-1313 - Resource adapter leaks connections
workging around http://youtrack.jetbrains.com/issue/IDEA-106594
test