I play on a realm. Since the 1.17.30 update my skeleton spawner stops spawning skeleton after around 20 minutes running fine. Happened to me 3 times while decorating the room. I tried going far enough to unload that chunk (first i went 7 chunks away, second time i went 300+ blocks away) and it didn't spawn any skeletons. BUT after logging off and relogging it started spawning again (I did that twice). It simply stops spawning them after running fine for a while.
GoldenHelmet, in my case i have a trident killer (in the same chunk as the spawner) for killing the skeletons and it was running just fine all the times the spawner stopped working.
As for desyncing, at least I never took any random damage at all.