TEIIDDES-1572 - added missing close() calls for ResultSet and Statement jdbc/sql objects