I use syncthing a lot too and yes it used to be perfect on my OnePlus 6 with lineage, but on my new Pixel 8 on stock I can't seem to get it too stay opened it always get killed even though I'm pretty sure I disabled every battery saving things for it
Make sure the notification is visible (you can minimize it though), and also switch to syncthing-fork if you haven't yet.