add closed exception