common: Kill spawned processes if channel closes with problem
common: Kill spawned processes if channel closes with problem

Make sure to kill spawned processes if the channel closes with
a problem (ie: not cleanly).

Reviewed-by: Marius Vollmer <bb11c6e942c5cc765df5f04da146b3198127a7a3@redhat.com>

petervo/cockpit,harishanand95/cockpit,fridex/cockpit,martinpitt/cockpit,FireDrunk/cockpit,cockpituous/cockpit,mvollmer/cockpit,larskarlitski/cockpit,arilivigni/cockpit,jscotka/cockpit,vanloswang/cockpit,andreasn/cockpit,maxamillion/cockpit,firebitsbr/cockpit,petervo/cockpit,maxamillion/cockpit,firebitsbr/cockpit,harishanand95/cockpit,Armstrong1992/cockpit,netzvieh/cockpit,netzvieh/cockpit,michalskrivanek/cockpit,xhad/cockpit,larskarlitski/cockpit,cockpit-project/cockpit,dperpeet/cockpit,vanloswang/cockpit,cockpituous/cockpit,kkaempf/cockpit,larskarlitski/cockpit,dperpeet/cockpit,larskarlitski/cockpit,sgallagher/cockpit,Scribery/cockpit,dperpeet/cockpit,cockpituous/cockpit,larsu/cockpit,mvollmer/cockpit,kkaempf/cockpit,Scribery/cockpit,SotolitoLabs/cockpit,sgallagher/cockpit,andreasn/cockpit,netzvieh/cockpit,jscotka/cockpit,vanloswang/cockpit,harishanand95/cockpit,larsu/cockpit,martinpitt/cockpit,sub-mod/cockpit,stefwalter/cockpit,cockpit-project/cockpit,sgallagher/cockpit,petervo/cockpit,vbatts/cockpit,deryni/cockpit,larskarlitski/cockpit,stefwalter/cockpit,mareklibra/cockpit,arilivigni/cockpit,fridex/cockpit,FireDrunk/cockpit,Armstrong1992/cockpit,haiyangd/cockpit_view,evol262/cockpit,nmav/cockpit,Thermionix/cockpit,Thermionix/cockpit,jscotka/cockpit,arilivigni/cockpit,sub-mod/cockpit,harishanand95/cockpit,vbatts/cockpit,mareklibra/cockpit,martinpitt/cockpit,jscotka/cockpit,haiyangd/cockpit_view,evol262/cockpit,SotolitoLabs/cockpit,Scribery/cockpit,SotolitoLabs/cockpit,deryni/cockpit,SotolitoLabs/cockpit,sgallagher/cockpit,xhad/cockpit,Thermionix/cockpit,Scribery/cockpit,matobet/cockpit,kkaempf/cockpit,michalskrivanek/cockpit,deryni/cockpit,larsu/cockpit,michalskrivanek/cockpit,FireDrunk/cockpit,sub-mod/cockpit,FireDrunk/cockpit,andreasn/cockpit,cockpituous/cockpit,jscotka/cockpit,FireDrunk/cockpit,sgallagher/cockpit,darioajr/cockpit,michalskrivanek/cockpit,moraleslazaro/cockpit,Armstrong1992/cockpit,SotolitoLabs/cockpit,vanloswang/cockpit,stefwalter/cockpit,kkaempf/cockpit,deryni/cockpit,moolitayer/cockpit,SotolitoLabs/cockpit,harishanand95/cockpit,garrett/cockpit,denysvitali/cockpit,zigitax/cockpit,deryni/cockpit,sgallagher/cockpit,firebitsbr/cockpit,sub-mod/cockpit,stefwalter/cockpit,xhad/cockpit,netzvieh/cockpit,Thermionix/cockpit,Armstrong1992/cockpit,evol262/cockpit,dperpeet/cockpit,moraleslazaro/cockpit,michalskrivanek/cockpit,mvollmer/cockpit,Scribery/cockpit,netzvieh/cockpit,petervo/cockpit,sgallagher/cockpit,mareklibra/cockpit,arilivigni/cockpit,arilivigni/cockpit,maxamillion/cockpit,Armstrong1992/cockpit,SotolitoLabs/cockpit,haiyangd/cockpit_view,andreasn/cockpit,darioajr/cockpit,darioajr/cockpit,xhad/cockpit,cockpit-project/cockpit,vanloswang/cockpit,xhad/cockpit,fridex/cockpit,cockpituous/cockpit,nmav/cockpit,vbatts/cockpit,arilivigni/cockpit,arilivigni/cockpit,denysvitali/cockpit,andreasn/cockpit,moraleslazaro/cockpit,moolitayer/cockpit,mareklibra/cockpit,darioajr/cockpit,harishanand95/cockpit,haiyangd/cockpit_view,jscotka/cockpit,matobet/cockpit,moolitayer/cockpit,michalskrivanek/cockpit,garrett/cockpit,stefwalter/cockpit,michalskrivanek/cockpit,evol262/cockpit,matobet/cockpit,larsu/cockpit,matobet/cockpit,denysvitali/cockpit,andreasn/cockpit,kkaempf/cockpit,vbatts/cockpit,vanloswang/cockpit,martinpitt/cockpit,larskarlitski/cockpit,larsu/cockpit,moraleslazaro/cockpit,vbatts/cockpit,fridex/cockpit,zigitax/cockpit,mvollmer/cockpit,sub-mod/cockpit,vanloswang/cockpit,dperpeet/cockpit,Scribery/cockpit,deryni/cockpit,fridex/cockpit,zigitax/cockpit,dperpeet/cockpit,petervo/cockpit,moolitayer/cockpit,mvollmer/cockpit,mareklibra/cockpit,deryni/cockpit,cockpit-project/cockpit,zigitax/cockpit,larskarlitski/cockpit,moraleslazaro/cockpit,nmav/cockpit,fridex/cockpit,dperpeet/cockpit,cockpituous/cockpit,darioajr/cockpit,Scribery/cockpit,haiyangd/cockpit_view,zigitax/cockpit,andreasn/cockpit,xhad/cockpit,maxamillion/cockpit,harishanand95/cockpit,Thermionix/cockpit,moraleslazaro/cockpit,nmav/cockpit,cockpit-project/cockpit,moolitayer/cockpit,denysvitali/cockpit,vbatts/cockpit,stefwalter/cockpit,matobet/cockpit,denysvitali/cockpit,maxamillion/cockpit,netzvieh/cockpit,garrett/cockpit,garrett/cockpit,mareklibra/cockpit,larsu/cockpit,firebitsbr/cockpit,moraleslazaro/cockpit,petervo/cockpit,matobet/cockpit,Thermionix/cockpit,xhad/cockpit,mareklibra/cockpit,firebitsbr/cockpit,petervo/cockpit,garrett/cockpit,evol262/cockpit,evol262/cockpit,martinpitt/cockpit,nmav/cockpit,stefwalter/cockpit