Merge pull request #1138 from gaohoward/master-1184

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