Remove notice if block is not closed (#443)