Recovery thread changes, nodeDown and nodeUp addition, full try/catch and retry logic added to RecoveryThread