correctly closing TaskDao in task detail activity