close resources, todo list