Merge pull request #1811 from jbertram/2.4.x

BZ965093 - Thread leak test failure with IBM JRE
HORNETQ-1395 - Misrepresentation of connection.createSession