CLOUDIFY-1826 fix task kill