delete method to delete a task spec.
Fix the disconnect method; I misunderstood the inheritance.