Isn't it generally a bad idea to rely on everything (power, network, OS) to remain stable to keep an SSH session open, just so processes on the other end don't get terminated?
Yes, that's what tmux and screen are for. You run one of them on the server and work within it, and then it doesn't matter what happens to the client or connection, your server processes are fine.