Added rs.close()