Add packages and forget open files on close