As far as I understood from the books and bash manuals is that. When a user logs out from bash all the background jobs that is started by the user will automatically termina
Only interactive shells kill jobs when you close them. Other shells (for example those you get by using su - username) don't do that. And interactive shells only kill direct subprocesses.