Process running after exiting tray icon

Sonarr version 4.0.16.2944:
OS: Windows 11 25h2
Debug logs: N/A
Description of issue:
I’m using Sonarr on this machine in tray mode and I expect the background executable to stop running when I exit the tray icon, but it continues to run in the background.

While I want it to shut down the process when the tray icon is exited, the secondary issue is that, if I do close the tray icon and not kill the process, when I start the application again, the tray icon will not connect to the existing process - so, I have to kill the process when I exit, regardless.

First and foremost, I prefer the process shut down when I exit.

Apologies if this was posted somewhere. I hadn’t any luck finding a result though the search feature.