Need to close resultset after select for avoid memory leak