Result rows should be closed post error check