public void run() {

        while (true) {

            initSocket();

            try {
                outToMailbox = new DataOutputStream(clientSocket.getOutputStream());
                inFromMailbox = new BufferedReader(new InputStreamReader(
                        clientSocket.getInputStream()));
            } catch (IOException e) {
                System.out.println(konto.getUser() + " have a problem with Stream-IO");
            }

            //If connection is accept and authenticating is successfully - collect Mails
            if (readFromMailbox().startsWith("+OK")) {
                if (authenticatingToMailbox()) {
                    collectMails();
                }
            }

            //close Session
            try {
                sendToMailbox("QUIT");
                logfile.update("Connection is broken" + "\n"+ "--------------------------------------------");
                clientSocket.close();
            } catch (IOException e) {
                System.out.println("Have a Problem with socket close");
                e.printStackTrace();
            }

            try {
                Thread.sleep(SLEEPTIME);
            } catch (InterruptedException e) {
                System.out.println("Have a Problem with Timer");
                e.printStackTrace();
            }

        }
    }