public void close() {
		try {
			result.close();
		} catch (SQLException e) {
			System.err.println("Error when trying to close ResultSet");
		}
		try {
			statement.close();
		} catch (SQLException e) {
			System.err.println("Error when trying to close Statement");
		}
		closed = true;
	}