removed warning "ResultSet left open"