xbprc link flapping between NPM and APM