public void run() {
        while(running) {
			ArrayList<Connection> connectionsCopy = new ArrayList<>(connections);
			for(Connection conn : connectionsCopy) {
				try {
					if(conn != null) {
						String data = "";
						while(conn.in.ready()) {
							data += conn.in.readLine();
						}
						if(!data.isEmpty()) {
							ParseMessage(conn, data);
                        }
					}
				} catch (IOException e) {
					e.printStackTrace();
				}
			}
            try {
                Thread.sleep(50);
            } catch (Exception e) {
                e.printStackTrace();
            }
		}
	}