fix resultset already close bug