public void start() {
        if (isRunning()) {
            return;
        }

        super.start();

        if (getCookieStore() != null) {
            getCookieStore().start();
        }
    }
@Test
    public void testNoResponse() throws Exception {
        NoResponseServer noResponseServer = new NoResponseServer("localhost", 7780);
        noResponseServer.start();

        // Give the server time to start up:
        Thread.sleep(1000);
        
        // CrawlURI curi = makeCrawlURI("http://stats.bbc.co.uk/robots.txt");
        CrawlURI curi = makeCrawlURI("http://localhost:7780");
        fetcher().process(curi);
        assertEquals(1, curi.getNonFatalFailures().size());
        assertTrue(curi.getNonFatalFailures().toArray()[0] instanceof NoHttpResponseException);
        assertEquals(FetchStatusCodes.S_CONNECT_FAILED, curi.getFetchStatus());
        assertEquals(0, curi.getFetchCompletedTime());
        
        noResponseServer.beDone();
        noResponseServer.join();
    }