public void dispose() { // Method to close the open device
		if (captor != null) {
			System.out.println("Captor - " + captor);
			captor.breakLoop();
			captor.close(); // Closes the device
		}
		isDisposed = true;
	}