Add check for pub keys on reconnect.