Removes notice if block is not closed (#443)