fix double start/stop server in nxsetup