tasks for close