Remove: getCredential only if necessary to contact peers