Resolved ResultSet closed error that was occurring when processing package results