clean quit of a block