fix resutset already close bug