Move ._close() down.