private void register_all() {
		
		registered.clear();
		errors.clear();
		
		for( KeyPair p : generatedKeys ) {
			threadPool.submit(new RegistrationRequest(p));
		}
		
		while( registered.size() + errors.size() < generatedKeys.size() ) {
			try {
				Thread.sleep(5*1000);
			} catch( Exception e ) {}
			System.out.println("registered: " + registered.size() + " error: " + errors.size());
		}
	}