add resource closing