return;
	public void connect() {		boolean isdone = false;		int connectionFailures = 0;		while (!isdone) {			String server = JFritz.getProperty("box.address");			String password;			if (JFritz.getProperty("telnet.password", "").equals("")) {				// Noch kein Passwort gesetzt. Zeige Einstellungsdialog				TelnetConfigDialog telnetConfigDialog = new TelnetConfigDialog(						jfritz.getJframe(), jfritz);				telnetConfigDialog.setModal(true);				if (telnetConfigDialog.showTelnetConfigDialog() == TelnetConfigDialog.CANCEL_OPTION) {					//ABBRUCH					return;				}			}			String user = JFritz.getProperty("telnet.user", "");			password = Encryption					.decrypt(JFritz.getProperty("telnet.password"));			int port = 23;			try {				Debug.msg("Verbinde mit Telnet ...");				if (jfritz.getJframe() != null) {					jfritz.getJframe().setStatus("Verbinde mit Telnet ...");				}				telnet.connect(server, port); // Connect to the specified server				in = telnet.getInputStream();				out = new PrintStream(telnet.getOutputStream());				if (login(user, password) == LOGIN_OK) {					connected = true;				}				isdone = true;				Debug.msg("Done");			} catch (ConnectException e) { // Connection Timeout				Debug.msg("Telnet connection timeout ...");				// Warten, falls wir von einem Standby aufwachen,				// oder das Netzwerk temporr nicht erreichbar ist.				if (connectionFailures < 5) {					Debug.msg("Waiting for FritzBox, retrying ...");					connectionFailures++;				} else {					Debug.msg("FritzBox not found. Get new IP ...");					jfritz.getJframe().setStatus(							JFritz.getMessage("box_not_found"));					Debug.err("Address wrong!");					jfritz.getJframe().setBusy(false);					String box_address = jfritz.getJframe().showAddressDialog(							JFritz.getProperty("box.address", "fritz.box"));					if (box_address == null) {						jfritz.stopCallMonitor();						isdone = true;					} else {						JFritz.setProperty("box.address", box_address);					}				}			} catch (Exception e) {				e.printStackTrace();			}		}	}