SQL task stopped trigger fix for #59