@SuppressWarnings("unchecked")
	public void stop() {
		System.out.println("try to stop");
		// threadPool.shutdown();
		
		Vector<BTHandler> clonedHander =(Vector<BTHandler>) this.handler.clone();
		for(BTHandler h:clonedHander){
			h.stop();
		}
		active = false;
		
		try {
			streamConnectionNotifier.close();
		} catch (IOException e) {
			e.printStackTrace();
		}
		//bt_unclosable_bug workaround
		serverState.notifyAllListener(BTServerStateObservable.SERVER_STOPPED);
	}