private void runTimer() {
		Timer timer = new Timer(true);

		TimerTask task = new TimerTask() {
			public void run() {
				try {
					Date date = new Date();
					for (Integer ack : timeMap.keySet()) {
						int time = timeMap.get(ack);
						if (date.getTime() > time + timeout) {
							datagramService.sendDatagram(map.get(ack));
							timeMap.put(ack, (int) date.getTime());
						}
					}
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		};
		timer.schedule(task, 0, 500);
	}