Merge pull request #1139 from gaohoward/2.3.x-1184

HORNETQ-1184 : Leak on failed RecoveryDiscovery
HORNETQ-1184 second fix: don't register recovery if failed to make connection

Conflicts:

	tests/integration-tests/src/test/java/org/hornetq/tests/integration/ra/ResourceAdapterTest.java