Any reason you're using SSH X forwarding over something like Xpra? It also works over SSH, but lets apps persist even if the SSH connection is broken for whatever reason.
You can even run Firefox via Wayland and forward a persistent XWayland session if that's your cup of tea.
You can even run Firefox via Wayland and forward a persistent XWayland session if that's your cup of tea.