Add in reConnectNodeAfterChecks in Scala implementation