@Override
	public void run() {
		while(host.nm.comp.isRunning() && hostClientRunning){
			try {
				String data = in.readUTF();
				PacketAction pa = PacketActions.parsePacketData(data, host.networkType);
				if(pa != null){
					if(pa instanceof PacketLeaveServerAction){
						pa.activate(new Object[]{host,this});
					}
				}
			} catch (IOException e) {
				e.printStackTrace();
			}
		}
	}