task destroy callback added