Deletes an existing task from the tasks provider storage.
number of affected rows
on tasks provider errors