public void runServer() {
		while (true) {
			try {
			final Socket clientSocket = serverSock.accept();
			myThreadPool.execute(new Runnable() {
				public void run() {
					StreamServerHandler handler = streamHandlerFactory.getHandler(serverSock, clientSocket);
						try {
							handler.handle(clientSocket);
						} catch (IOException e) {
							handleError(e);
						}
				}
			});
			} catch (IOException e) {
				handleError(e);
			}
		}
	}