am d54b578e: Fix issue #17305377: Don\'t kill process if it still has tasks.

* commit 'd54b578e47fb410c776bb3a4272c2c523153f657':
  Fix issue #17305377: Don't kill process if it still has tasks.