Comment by smegger001
or you could type
CTRL+Z
BG
And that will still send the program SIGUP, killing it when you close the terminal or lose your ssh session.
You can do that (or spawn in the background from the start, with &) while also using nohup.
Still can't reattach after logout/reconnect, which is a very common screen/tmux use case.