public void disconnect() {
		try {
			if (stmt != null) {
				stmt.close();
			}
			if (conn != null) {
				conn.close();
			}
			gui.setdisconnected();
		} catch (SQLException e) {
			gui.handleSQLException(e);
		}
	}