exit after unlinking