Fixup the example to work with resources (batch system native specs) and kill the jobs nicely with scancel