@Override
    public void run() {
	while(true) {
	    boolean b;
	    synchronized (requests) {
		b = !requests.isEmpty();;
	    }
	    Request req;
	    while (b) {
		synchronized (requests) {
		    req = requests.remove(0);
		}
		searchPage(req);
		synchronized (requests) {
		    b = !requests.isEmpty();
		}
	    }
	    
	    try {
		sleep(250);
	    } catch (InterruptedException e) {}
	}
    }