[qubes-users] VM shutdown and services

Can someone help me diagnose a problem that i have that seems to be Qubes specific.

I use profile-sync-daemon with my web browser to run the entire browser profile in memory. However, when i reboot (or shutodwn -> startup) a VM somewhere there appears to be a timing problem with when profile-sync-daemon is stopped and the actual VM is stopped. Because, after every reboot my browser profile is corrupted. However, if i stop profile-sync-daemon manually before rebooting my VM, systemctl --user stop psd, everything runs smooth.

I am sure it has to do with profile-sync-daemon not allowed enough time to write the browser profile in memory out to disk before the reboot happens.