Unlike the NAS-outage hang in https://xcp-ng.org/forum/topic/12563, this one doesn't seem to need an outage at all: @acebmxer found the same leftover .nfs files after disabling a remote in that thread (https://xcp-ng.org/forum/post/109662) and wrote it up as "Test 2" on https://github.com/vatesfr/xen-orchestra/issues/10741.
I tried three disable/enable cycles from xo-cli, on an XO from sources at your commit 54051163e and on a regular XOA on 5.213.4, and I only got half of what you describe.
Creating the remote already opens two keepers, test or no test. Disabling only ever closes one of them, so one stays open (two did on one of the XOA runs) and the share stays mounted even after I delete the remote, but the count never grew for me: it came back to the same number every cycle. I'm not a dev and may be missing a path, but from what I read in _mount.js at that commit, _sync() seems to close the previous keeper before opening a new one, which would lean towards your "several handlers for the same remote" idea rather than an overwrite, and since the extra one shows up at creation, I guess that's the step I'd look at first.
Were you toggling from the web UI, and how far apart were your cycles? That's the one difference I can't rule out on my side. Maybe a separate GitHub issue linked from #10741 would be cleaner than another comment there, since yours happens without the NAS going away (not sure which the devs prefer), and a mention to @Team-XO-Backend might help the right people see it.