@Override
	public void run()
	{
		while (true)
		{
			lock.lock();

			Socket client;

			try
			{
				client = socket.accept();
				log.debug("new client: " +  client.getInetAddress().toString());
				handleConnection(client);
			}
			catch (IOException e)
			{
				e.printStackTrace();
			}

			try
			{
				await.awaitNanos(100);
			} catch (InterruptedException e)
			{
				e.printStackTrace();
			}

			ArrayList<Object> input = new ArrayList<Object>();
			input.add("teset test test");
			greetPacket.input = input;

			mainSession.broadcast(greetPacket, mainSession.getClients().get(0));
		}
	}