Close things properly