@Override
	public void run() {
		while (this.running) {
			try {
				if (this.socket != null && this.socket.isBound()) {
					readFromSocket();
				} else {
					bind();
				}
				Thread.sleep(500);
			} catch (IOException e) {
				e.fillInStackTrace();
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
	}