properly unmount everything