	@Test(expected = HttpHostConnectException.class)
	public void testKill() throws Exception {


		final ScheduledExecutorService executor =
				Executors.newScheduledThreadPool(1);

		executor.schedule(new Runnable() {

			@Override
			public void run() {
				server.kill();
			}

		}, 500, TimeUnit.MILLISECONDS);

		final HttpGet get =
				new HttpGet("http://localhost:" + port + "/client-disconnect");

		// Should throw exception
		client.execute(get);

	}