Merge pull request #1129 from gaohoward/2.2.eap5_hornetq1184

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